<?php
return [
    'vendorPath' => dirname(dirname(__DIR__)) . '/vendor',
    'timeZone' => 'Asia/Shanghai',
//    'sourceLanguage' => 'zh_CN',// 默认设置源语言为英语
    'language' => 'zh-CN',
//    'messagePath'=>'yii\message\zh-CN\yii.php',
 //   'bootstrap' => ['queue'],
    'components' => [
        //Yii2 默认是启用CSRF令牌验证
        'cache' => [
            'class' => 'yii\caching\FileCache',
        ],
        'format' => [
            'class' => 'common\components\Formatter',
        ],
    ],
];
